<?php global $user, $base_url; ?>
<?php if (!empty($items)): ?>
<ul class="locked-items">
    <?php $count = 0;?>
    <?php foreach ($items as $item): ?>
    <?php $count++; ?>
    <li <?php print ($count%4) == 0 ? 'class="last"' : '';?>>
        <?php print theme('locked-item', array('item' => $item)); ?>
    </li>
    <?php endforeach;?>
    <div class="clear"></div>
</ul>
<?php endif; ?>